home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
t3_1
/
xlib.lha
/
xlib
/
xpoint.t
< prev
next >
Wrap
Text File
|
1990-06-01
|
326b
|
7 lines
(herald xpoint (env tsys (xlib interface)))
(DEFINE (MAKE-XPOINT) (CONS 'XPOINTP (MAKE-BYTEV 4)))
(DEFINE (XPOINT-X X) (MREF-16-S (CHK-XPOINTP X) 0))
(DEFINE (XPOINT-X! X Y) (SET-MREF-16-S! (CHK-XPOINTP X) 0 Y))
(DEFINE (XPOINT-Y X) (MREF-16-S (CHK-XPOINTP X) 2))
(DEFINE (XPOINT-Y! X Y) (SET-MREF-16-S! (CHK-XPOINTP X) 2 Y))